Event.observe('photoDelete', 'click', function(event) {
   $('photo').remove();
   $('photoDelete').remove();
});

Event.observe('cvDelete', 'click', function(event) {
   $('cv').remove();
   $('cvDelete').remove();
});